/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package plugin;

import java.io.File;
import java.net.URL;
import java.net.URLClassLoader;

/**
 *
 * @author zem
 */
public class PluginLoader {
    PluginLoader(String plugin_name){
        try{
         File file = new File("c:\\class\\");
    URL url = file.toURI().toURL();
    URL[] urls = new URL[] { url };
    ClassLoader loader = new URLClassLoader(urls);
    Class cls = loader.loadClass("user.informatin.Class");
    cls.newInstance();
    }catch (Exception erir){}
    }
}
